﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RM.Data
{
    public partial class RecordDay
    {
        RmDataModelContainer _db = new RmDataModelContainer();
        public virtual List<RecordTime> RecordTimeList{
            get {
                var query = from p in _db.RecordTimes
                            where p.RecordDayId == this.Id
                            select p;
                return query.ToList();
            }
        }
    }
}
